package com.zygvip.demand.core;

import com.google.common.base.Objects;

import java.io.Serializable;
import java.lang.reflect.Field;

/**
 * Description
 *
 * @author 马乌提
 * @create 2018-01-29 11:44
 */
public abstract class BaseEntity implements Serializable{

    public static final long serialVersionUID = -1843670635254852783L;

    @Override
    public boolean equals(Object obj) {
        return Objects.equal(this,obj);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(this);
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
